package com.mobile.util.sql;

import java.util.ArrayList;
import java.util.List;

public class Page<E> {
	private int pageNumber;
	private int pagesAvailable;
	private List<E> pageItems = new ArrayList<E>();
	private int totalRows;
	
	@SuppressWarnings("rawtypes")
	private List listaAuxiliar;

	@SuppressWarnings("rawtypes")
	public List getListaAuxiliar() {
		return listaAuxiliar;
	}

	@SuppressWarnings("rawtypes")
	public void setListaAuxiliar(List listaAuxiliar) {
		this.listaAuxiliar = listaAuxiliar;
	}

	public int getTotalRows() {
		return totalRows;
	}

	public void setTotalRows(int totalRows) {
		this.totalRows = totalRows;
	}

	public void setPageNumber(int pageNumber) {
		this.pageNumber = pageNumber;
	}

	public void setPagesAvailable(int pagesAvailable) {
		this.pagesAvailable = pagesAvailable;
	}

	public void setPageItems(List<E> pageItems) {
		this.pageItems = pageItems;
	}

	public int getPageNumber() {
		return pageNumber;
	}

	public int getPagesAvailable() {
		return pagesAvailable;
	}

	public List<E> getPageItems() {
		return pageItems;
	}
}
